<extend name="Layout:base"/>

<block name="title">添加管理员</block>
<block name="css">

</block>
<block name="xtyhgl">active</block>
<block name="glygl">active</block>
<block name="menu">
    <h5 class="breadcrumbs-title">添加管理员</h5>
    <ol class="breadcrumbs">
        <li class="active"><a href="{:U('Admin/Index/index')}">首页</a>
        </li>
        <li class="active">添加管理员
        </li>
    </ol>
</block>

<block name="main">
    <div class="col s10 m10 l10 offset-l1 offset-s1 offset-m1">
        <h3 class="center-align">添加管理员</h3>
        <form action="" method="post">
            <div class="row">
                <div class="input-field col s12">
                    <input name="id" value="{$ret.id}" hidden>
                    <input id="adminid" name="adminid" type="text" class="validate" value="{$ret.adminid}">
                    <label for="adminid">管理员编号</label>
                </div>
            </div>

            <div class="row">
                <div class="input-field col s12">
                    <input id="name" name="name" type="text" class="validate" value="{$ret.name}">
                    <label for="name">姓名</label>
                </div>
            </div>

            <div class="row">
                <div class="input-field col s12">
                    <input id="password" name="password" type="text" class="validate" value="{$ret.password}">
                    <label for="password">密码</label>
                </div>
            </div>

            <div class="row">
                <div class="input-field col s12 l12 m12 center-align">
                    <input class="waves-effect waves-light btn blue" type="submit" value="修改">
                    <input class="waves-effect waves-light btn red" type="reset" value="重置">
                </div>
            </div>
        </form>
    </div>

</block>

<block name="js">
    <script>
        $(document).ready(function () {
            $('select').material_select();

        });
    </script>
</block>